package com.edu.bean;

/**
 * @Author:LYS
 * @Date: 2024/9/20 15:16
 * @Description:
 */
public class User {
    private int userId;
    private String userName;
    private String password;
    private String realName;
    private int stuId;

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public int getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }

    public String getPassword() {
        return password;
    }

    public String getRealName() {
        return realName;
    }

    public int getStuId() {
        return stuId;
    }

    public User() {
    }

    public User(int userId, String userName, String password, String realName, int stuId) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.realName = realName;
        this.stuId = stuId;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", stuId=" + stuId +
                '}';
    }
}
